package com.ytjj.common.utils;

import com.ytjj.common.constants.RedisConstants;
import com.ytjj.common.service.RedisService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description 系统配置获取工具类
 *
 * @Version 1.0
 * 
 */
@Service
public class SysConfigUtil {

    @Resource
    private RedisService redisService;

    public String getSysConfig(String paramKey){
        return redisService.getMapString(RedisConstants.SYS_CONFIG,paramKey);
    }
}
